package com.javaspeak.designpatterns.go4.creational.builder;

/**
 * Class used to capture largest dimensions necessary to accomodate all
 * Shapes
 *
 * @author John Dickerson
 */
public class Dimension {

    private int width;
    private int height;


    /**
     * Constructor
     *
     * @param width The max width of all the shapes
     * @param height The max height of all the shapes
     */
    public Dimension( int width, int height ){

        this.width = width;
        this.height = height;
    }


    public int getWidth() {

        return width;
    }



    public int getHeight() {

        return height;
    }
}
